<template>
	<view>
		<view><text>总个数：{{answerAll}}</text><text>回答正确个数：{{answerOk}}</text><text>回答错误个数：{{answerErr}}</text><text>未回答个数：{{answerNo}}</text></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				'answerAll':0,//总个数
				'answerOk':0,//回答正确个数
				'answerNo':0,//未回答个数
				'answerErr':0,//回答错误个数
			}
		},
		onLoad(option){
			this.answerOk = option.answerOk;
			this.answerNo = option.answerNo;
			this.answerErr = option.answerErr;
			this.answerAll = parseInt(this.answerErr)+parseInt(this.answerNo)+parseInt(this.answerOk);
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
